import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import '@/utils/directive'
import '@/styles/index.scss' // global css
import '@/styles/common.scss'
import './permission'
import '@/icons' // icon  <svg-icon icon-class="edit" />
import '@/utils/vantUse.js'
import '@/utils/prototype.js'
import loading from '@/components/Loading' // 公共组件 - Loading
Vue.use(loading)
import Vconsole from 'vconsole'
if (process.env.NODE_ENV === 'production') {
  new Vconsole()
}

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
